import activity from './routes/activity.js'
import prize from './routes/prize.js'
import record from './routes/record.js'

const turntable = {
    install: function(Vue, options) {
        let router = options.router;
        router.addRoutes(activity);
        router.addRoutes(prize);
        router.addRoutes(record);
    }
}

if (typeof window !== 'undefined' && window.Vue) {
  window.Vue.use(turntable)
}
export default turntable
